#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QToolBar>
#include <QHBoxLayout>
#include <QSplitter>

#include "ogrewindow.h"
#include "propertybrowser/propertyview.h"

class MainWindow : public QMainWindow
{
public:
	MainWindow(QWidget* parent = nullptr);
	~MainWindow();

protected:
	void showEvent(QShowEvent* event) override;

private:
	void initStyle();
	void initToolbar();
	void initLayout();
	void slotToolBar(QAction* act);

	QSplitter*				m_pHSplitter;
	OgreWindow*				m_pOgreWindow;
	EasyLib::PropertyView*	m_pPropertyView;

	QAction*		m_pActShow3DRoi;
	QAction*		m_pActShowGrid;
	QAction*		m_pActShowAxes;
};

#endif
